라이브러리 - CF [Wunder Fund Round 2016(Div 1 + Div 2 combined) B] [폭력 욕심] Guess the Permutation 전체 배열 a[i] [j]=min(p[i],p time limit per test memory limit per test input standard input standard output Bob has a permutation of integers from 1 to n. Denote this permutation as p. For all pairs of distinct integers i, j between 1 and n, he wrot... codeforces탐욕스럽다폭력.라이브러리 - CF [IndiaHacks 2016 - Online Edition(Div 1 + Div 2) ErrichtoA] [물문제] Bear and Three Balls에 수치 차이 1의 세 개가 있는지. Limak wants to give one ball to each of his three friends. No two friends can get balls of the same size. No two friends can get balls of sizes that differ by more than 2. For example, Limak can choose balls with sizes 4... 수제codeforces라이브러리 - CF [CROC 2016 - Elimination RoundC] [2점] Enduring Exodus의 가장 작은 사람이 양과 거리를 지킨다. time limit per test 2 seconds memory limit per test output standard output Help Farmer John protect his cows by calculating this minimum possible distance. The first line of the input contains two integers n and k (1 ≤ k... codeforces이분라이브러리 - CF [April Fools Day Contest 2016B] [폭력] Scrambled는 최소한 하나의 모델 a여b를 만족시킨다 time limit per test 2 seconds memory limit per test input standard input output standard output Btoh yuo adn yuor roomatme lhoate wianshg disehs, btu stlil sdmoeboy msut peorrfm tihs cohre dialy. Oen dya yuo decdie to id... codeforces폭력.라이브러리 - CF [April Fools Day Contest 2014D] [만우절 뇌동 인공검색] 빅데이터가 정확한 정보수입니다. time limit per test memory limit per test output The scientists rejoiced at the gift and decided to put some important facts to this array. Here are the first few of the facts: Its peak rises to 8848 m. The largest board... codeforces라이브러리 - CF [April Fools Day Contest 2014A] [만우절 뇌동 퀴즈] The Great Game 가위바위보! A. The Great Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Two teams meet in The Game World Championship. Some scientists consider this game to be the m... codeforces뇌구멍라이브러리 - CF [April Fools Day Contest 2016F] [뇌구멍 or 2점 OEIS] 에이스 잇! F. Ace It! time limit per test 2 seconds memory limit per test 64 megabytes input standard input output standard output Input The only line of the input is a string of 7 characters. The first character is letter A, follo... codeforces뇌구멍라이브러리 - CF
[Wunder Fund Round 2016(Div 1 + Div 2 combined) B] [폭력 욕심] Guess the Permutation 전체 배열 a[i] [j]=min(p[i],p time limit per test memory limit per test input standard input standard output Bob has a permutation of integers from 1 to n. Denote this permutation as p. For all pairs of distinct integers i, j between 1 and n, he wrot... codeforces탐욕스럽다폭력.라이브러리 - CF [IndiaHacks 2016 - Online Edition(Div 1 + Div 2) ErrichtoA] [물문제] Bear and Three Balls에 수치 차이 1의 세 개가 있는지. Limak wants to give one ball to each of his three friends. No two friends can get balls of the same size. No two friends can get balls of sizes that differ by more than 2. For example, Limak can choose balls with sizes 4... 수제codeforces라이브러리 - CF [CROC 2016 - Elimination RoundC] [2점] Enduring Exodus의 가장 작은 사람이 양과 거리를 지킨다. time limit per test 2 seconds memory limit per test output standard output Help Farmer John protect his cows by calculating this minimum possible distance. The first line of the input contains two integers n and k (1 ≤ k... codeforces이분라이브러리 - CF [April Fools Day Contest 2016B] [폭력] Scrambled는 최소한 하나의 모델 a여b를 만족시킨다 time limit per test 2 seconds memory limit per test input standard input output standard output Btoh yuo adn yuor roomatme lhoate wianshg disehs, btu stlil sdmoeboy msut peorrfm tihs cohre dialy. Oen dya yuo decdie to id... codeforces폭력.라이브러리 - CF [April Fools Day Contest 2014D] [만우절 뇌동 인공검색] 빅데이터가 정확한 정보수입니다. time limit per test memory limit per test output The scientists rejoiced at the gift and decided to put some important facts to this array. Here are the first few of the facts: Its peak rises to 8848 m. The largest board... codeforces라이브러리 - CF [April Fools Day Contest 2014A] [만우절 뇌동 퀴즈] The Great Game 가위바위보! A. The Great Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Two teams meet in The Game World Championship. Some scientists consider this game to be the m... codeforces뇌구멍라이브러리 - CF [April Fools Day Contest 2016F] [뇌구멍 or 2점 OEIS] 에이스 잇! F. Ace It! time limit per test 2 seconds memory limit per test 64 megabytes input standard input output standard output Input The only line of the input is a string of 7 characters. The first character is letter A, follo... codeforces뇌구멍라이브러리 - CF